Piwik\DataAccess\Model D

Total Complexity 133
Dependencies 22
Dependents 10
Total lines 751
Lines of code 579
Logical lines of code 408
Comment lines 127
Methods 41
Properties 1

Methods 41

Method Rating Maintainability Complexity Lines of code
updateArchiveAsInvalidated()
C
30 28 106
getInvalidatedArchiveIdsSafeToDelete()
A
46 10 37
getRecordsContainedInArchives()
S
51 5 24
updateRangeArchiveAsInvalidated()
S
51 5 24
startArchive()
S
52 5 22
createArchiveTable()
S
55 5 20
resetFailedArchivingJobs()
S
55 5 18
hasInvalidationForPeriodAndName()
S
56 4 17
allocateNewArchiveId()
S
58 4 16
getDeletedSegmentWhereClause()
S
56 4 16
getArchiveIdsForSegments()
S
58 4 15
getArchiveIdsForDeletedSites()
S
55 3 19
deleteOlderArchives()
S
56 3 16
getNextInvalidatedArchive()
S
57 3 16
deleteArchivesWithPeriod()
S
57 3 16
hasChildArchivesInPeriod()
S
56 3 15
getRemoveInvalidationsIdSitesClause()
S
64 3 9
doRequestedRecordsLookNumeric()
S
67 3 8
deleteArchiveIds()
S
58 2 14
isSimilarArchiveInProgress()
S
59 2 13
isArchiveAlreadyInProgress()
S
60 2 12
getArchiveIdAndVisits()
S
59 2 12
getExistingInvalidations()
S
59 2 12
getInvalidationsInProgress()
S
62 2 11
isCutOffGroupConcatResult()
S
73 2 4
getSitesWithInvalidatedArchive()
S
65 2 8
__construct()
S
79 2 3
getNameCondition()
S
64 2 9
deleteInvalidations()
S
67 1 7
removeInvalidationsLike()
S
68 1 6
removeInvalidations()
S
68 1 6
insertRecord()
S
64 1 9
getInstalledArchiveTables()
S
71 1 5
updateArchiveStatus()
S
77 1 3
deleteInvalidationsForSites()
S
69 1 6
deleteInvalidationsForDeletedSites()
S
70 1 6
getTemporaryArchivesOlderThan()
S
72 1 4
releaseInProgressInvalidation()
S
71 1 5
makeExistingInvalidationArrayKey()
S
77 1 3
getArchiveStatus()
S
77 1 3
getHashFromDoneFlag()
S
74 1 4